<?php
	class Tagstable_model extends DbManage_model
	{
		var $strTable='tags';
		var $strPrimaryKey='id';
		function insert($arrData)
		{
			if(empty($arrData))
			{
				throw new Exception('the data parameter is empty, please check');
			}
			$arrData['insertTime']=date( "Y-m-d H:i:s");
			$this->db->insert($this->strTable, $arrData);
			return $this->db->insert_id();
		}
	}